<?php include 'frame-top.php'; ?>

<?php $admin = auth::check(auth::PRIV_ADMIN); ?>
<div class="segm">
	<h2>教研室网站管理：</h2>
	<ul>
		<li><a href="javascript:admin('/admin/index/name/home')">
			修改"首页"内容</a>
			</li>
		<li><a href="javascript:admin('/admin/index/name/intro')">
			修改"教研室介绍"</a>
			</li>
		<li><a href="javascript:admin('/admin/index/name/interest')">
			修改"研究方向"</a>
			</li>
		<li><a href="javascript:admin('/admin/index/name/compiler')">
			修改"编译原理精品课"</a>
			</li>
		<li><a href="javascript:admin('/admin/index/name/programming')">
			修改"高级程序设计精品课"</a>
			</li>
		<?php if (auth::check(auth::PRIV_ADMIN)) : ?>
		<li>&nbsp;<hr /></li>
		<li>已授权给：</li>
		<li><a href="javascript:admin('/admin/upgrade')">
			任命新管理员</a></li>
		<li><a href="javascript:admin('/admin/assign')">
			分配、解除管理网站权限</a></li>
		<?php endif; ?>

	</ul>

</div> <!-- end of segm -->

<?php include 'frame-bottom.php'; ?>
